#!/bin/bash
./xmlchange NEONSITE=ONAQ
./xmlchange PTS_LON=247.54755
./xmlchange PTS_LAT=40.17760
# NEON precipitation data for this site is missing so end early
# If CLM_USRDAT_NAME is NEON.PRISM you can run to the end of the data
if [[ $CLM_USRDAT_NAME == 'NEON' ]]; then
  ./xmlchange DATM_YR_END=2019
  # Different default number of months to run for transient case
  if  [[ $compset =~ ^HIST ]]; then
    ./xmlchange DATM_YR_END=2020
    if [[ $TEST != "TRUE" ]]; then
      ./xmlchange STOP_N=24
    fi
  fi
fi
